package com.guoyansoft.config;

import com.guoyansoft.model.utils.MD5Code;

import java.util.Base64;

public class PasswordEncryption {
    public static String getCiphertext(String pass){
        String passFilter="RapidDeliverySystem_java";
        String salt=new String(Base64.getEncoder().encode(passFilter.getBytes()));
        return  new MD5Code().getMD5ofStr(pass+"{{"+salt+"}}");
    }
}
